import config from '@/utils/config'
import { generateRequest } from '@/utils/request'
const { apiUrlPrefix } = config

/** 资质类型列表 */
export const qualificationTypeListApi = generateRequest(`${apiUrlPrefix}/cts/qualificationType/queryByPage`)

/** 资质类型合集 */
export const qualificationTypeAllApi = generateRequest(`${apiUrlPrefix}/cts/qualificationType/queryList`)

/** 新增/修改资质类型 */
export const createQualificationTypeApi = generateRequest(`${apiUrlPrefix}/cts/qualificationType/saveOrUpdate`)

/** 资质类型删除 */
export const deleteQualificationTypeApi = generateRequest(`${apiUrlPrefix}/cts/qualificationType/deleteById`)
